run: project.cpp
	g++ -o test project.cpp -I /usr/include/eigen3 -O3
	./test data/D

clean:
	rm test project.m testMatrix testGeometry testPoint testMesh testElement

debug: project.cpp Mesh.h Element.h
	g++ -o test project.cpp -I /usr/include/eigen3 -g

test: testMatrix.cpp testGeometry.cpp testPoint.cpp testMesh.cpp testElement.cpp
	g++ -o testMatrix testMatrix.cpp
	g++ -o testGeometry testGeometry.cpp
	g++ -o testPoint testPoint.cpp
	g++ -o testMesh testMesh.cpp
	g++ -o testElement testElement.cpp
	./testMatrix
	./testGeometry
	./testPoint
	./testMesh data/D
	./testElement
